package com.bwie.service.imp;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.mapper.BookingMapper;
import com.bwie.pojo.Booking;
import com.bwie.service.BookingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookingServiceImpl extends ServiceImpl<BookingMapper, Booking> implements BookingService {

    @Autowired
    private BookingMapper bookingMapper;

    @Override
    public List<Booking> bookingList() {
        return bookingMapper.bookingList();
    }
}
